<template>

  <div>
    <el-dropdown>
      <i class="el-icon-setting" style="font-size: 16pt;"></i>
      <el-dropdown-menu slot="dropdown">
        <el-dropdown-item>个人信息</el-dropdown-item>
        <el-dropdown-item>修改密码</el-dropdown-item>
        <el-dropdown-item><i class="iconfont icon-tuichu"></i> 安全退出</el-dropdown-item>
      </el-dropdown-menu>
    </el-dropdown>
    {{username}}
  </div>

</template>

<script>
  export default {
    name: "Head",
    data() {
      return {
        username: ""
      }
    },
    created() {
      this.username = "二缺"
    }
  }

</script>


<style>


</style>
